import { BaseService, Service, Permission } from '@/cool';

@Service('crm/equipmentInfo')
export default class extends BaseService {
	@Permission('labelList')
	labelList(params) {
		return this.request({
			url: '/labelList',
			params: {
				...params
			}
		});
	}

	//批量绑定标签
	@Permission('setLabels')
	setLabels(params) {
		return this.request({
			url: '/setLabels',
			method: 'post',
			data: {
				...params
			}
		});
	}
}
